<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        /**
         * attachEvent()和detachEvent()两个函数和DOM的addEventListener/removeLsitener类似，
         * 只不过没第三个Boolean参数, 默认在冒泡阶段执行
        */
    </script>
</body>
</html>